﻿using FriendStar.Code;
using System.Collections.Generic;
using System.Linq;
using System.Web.Mvc;
using FriendStar.Application.VBaseData;
using FriendStar.Domain.Entity.VBaseData;

namespace FriendStar.Web.Areas.VBaseData.Controllers
{
    public class V_CPK_48_HZ_StoCPKListAcco_ArcController : Controller
    {
        //
        // GET: /VBaseData/V_CPK_48_HZ_StoCPKListAcco_Arc/
        private V_CPK_48_HZ_StoCPKListAcco_ArcApp dutyApp = new V_CPK_48_HZ_StoCPKListAcco_ArcApp();

        [HttpGet]
        [HandlerAjaxOnly]
        public ActionResult GetGridJson(string keyword)
        {
            var data = dutyApp.GetList(keyword);
            return Content(data.ToJson());
        }
    }
}
